package com.clt.ess.gjzw.domain.revocationSealInfo;

import java.io.Serializable;

//上传电子印章撤销信息接口请求业务参数的data类
public class RevocationSealInfoRequestData implements Serializable {
    //电子印章编码
    //必填
    private String yzbm;
    //设备编码
    //必填
    private String deviceCode;
    //base64 编码的设备编码密文
    //必填
    private String encDeviceCode;

    /**
     {
         "yzbm": "印章编码",
         "deviceCode ": "设备编码",
         "encDeviceCode ": "base64 编码的设备编码密文"
     }
     */

    public RevocationSealInfoRequestData() {
    }

    public RevocationSealInfoRequestData(String yzbm, String deviceCode, String encDeviceCode) {
        this.yzbm = yzbm;
        this.deviceCode = deviceCode;
        this.encDeviceCode = encDeviceCode;
    }

    public String getYzbm() {
        return yzbm;
    }

    public void setYzbm(String yzbm) {
        this.yzbm = yzbm;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getEncDeviceCode() {
        return encDeviceCode;
    }

    public void setEncDeviceCode(String encDeviceCode) {
        this.encDeviceCode = encDeviceCode;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"yzbm\":\"")
                .append(yzbm).append('\"');
        sb.append(",\"deviceCode\":\"")
                .append(deviceCode).append('\"');
        sb.append(",\"encDeviceCode\":\"")
                .append(encDeviceCode).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
